/**窗体类型 */
export enum FormType {
    Empty,
    /** 普通窗口 */
    SceneBase,
    /** 固定窗口 */
    FixedUI,
    /** 弹出窗口 */
    PopUp,
    /** 独立窗口 */
    TopTips,
}
/**透明度类型 */
export enum MaskOpacity {
    /** 没有mask, 可以穿透 */
    Pentrate,
    /** 完全透明，不能穿透 */
    Lucency,
    /** 半透明，不能穿透 */
    Translucence,
    /** 低透明度，不能穿透 */
    ImPenetrable,
}
/** UI的状态 */
export enum UIState {
    None = 0,
    Loading = 1,
    Showing = 2,
    Hiding = 3
}
/** 常量 */
export class SysDefine {
    /* 路径常量 */
    public static SYS_PATH_CANVAS = "Canvas";
    public static SYS_PATH_UIFORMS_CONFIG_INFO = "UIFormsConfigInfo";
    public static SYS_PATH_CONFIG_INFO = "SysConfigInfo";
    /* 标签常量 */
    public static SYS_UIROOT_NAME = "Canvas/UIROOT";
    public static SYS_UIMASK_NAME = "Canvas/UIROOT/UIMaskScript"
    public static SYS_UIAdaptation_NAME = "Canvas/UIROOT/UIAdaptationScript"
    /* 节点常量 */
    public static SYS_SCENEBASE_NODE = "SceneBase";
    public static SYS_FIXEDUI_NODE = "FixedUI";
    public static SYS_POPUP_NODE = "PopUp";
    public static SYS_TOPTIPS_NODE = "TopTips";
    /** 规范符号 */
    public static SYS_STANDARD_Prefix = '_';
    public static SYS_STANDARD_Separator = '$';
    public static SYS_STANDARD_End = '#';

    public static UI_PATH_ROOT = 'UIForm/';

    public static SeparatorMap: { [key: string]: string } = {
        "_Node": "cc.Node",
        "_Label": "cc.Label",
        "_Button": "cc.Button",
        "_Sprite": "cc.Sprite",
        "_RichText": "cc.RichText",
        "_Mask": "cc.Mask",
        "_MotionStreak": "cc.MotionStreak",
        "_TiledMap": "cc.TiledMap",
        "_TiledTile": "cc.TiledTile",
        "_Spine": "sp.Skeleton",
        "_Graphics": "cc.Graphics",
        "_Animation": "cc.Animation",
        "_WebView": "cc.WebView",
        "_EditBox": "cc.EditBox",
        "_ScrollView": "cc.ScrollView",
        "_VideoPlayer": "cc.VideoPlayer",
        "_ProgressBar": "cc.ProgressBar",
        "_PageView": "cc.PageView",
        "_Slider": "cc.Slider",
        "_Toggle": "cc.Toggle",
        "_ButtonPlus": "ButtonPlus",
    };

}